package com.wyh.service.serviceImpl.gfiveImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wyh.domain.po.gfive.ManageProject;
import com.wyh.mapper.gfivemapper.ManageProjectMapper;
import com.wyh.service.gfive.ManageProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author TanXingYuan
 */
@Service
public class ManageProjectServiceImpl extends ServiceImpl<ManageProjectMapper,ManageProject>
        implements ManageProjectService {
    @Autowired
    ManageProjectMapper manageProjectMapper;
    @Override
    public int saveManageProject(List<ManageProject> manageProjectList) {
        return manageProjectMapper.saveRoles(manageProjectList);
    }

    @Override
    public int stopUse(String account) {
        return manageProjectMapper.stopUse(account);
    }
}
